package keyboard

import (
	"log"
	"strconv"
	"time"
)

type KeyAction struct {
	Character rune
	OccurTime time.Time
}

func (ka *KeyAction) Perform() {
	if strconv.IsPrint(ka.Character) {
		log.Println("input printable character '", ka.Character, "'")
	} else {
		log.Println("some unprintable character")
	}
}
